<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java"  isELIgnored="false" %>
<%@ include file="menu.jsp"%>
<div class="main-wrap" >
    <div class="crumb-wrap">
        <div class="crumb-list"><i class="icon-font"></i><a href="">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">图书管理</span></div>
    </div>
    <div class="result-wrap">
        <form name="myform" id="myform" method="post">

            <div class="result-content">
                <table class="result-tab" width="100%" id ="vetListTable">
                    <tr>
                        <th class="tc" width="5%"><input class="allChoose" name="" type="checkbox"></th>
                        <th class="tc">用户编号</th>
                        <th class="tc">用户名字</th>
                        <th class="tc">用户密码</th>
                        <th class="tc">用户电话</th>
                        <th class="tc">用户地址</th>
                        <th>操作</th>
                    </tr>
                    <tbody id="data_tbody">
                    <c:forEach var="user" items="${users}">
                        <tr>
                            <td>
                                <input name="id[]" value="${user.id}" type="checkbox">
                            </td>
                            <td>${user.id}</td>
                            <td>${user.username}</td>
                            <td>${user.password}</td>
                            <td>${user.phone}</td>
                            <td>${user.address}</td>
                            <td>
                                <a class="link-update" href="/login/adminfindUserById?id=${user.id}">修改</a> |
                                <a class="link-del" href="/login/admindeleteUserById?id=${user.id}">删除</a>
                            </td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
            </div>
        </form>
    </div>
</div>
</div>
</body>
<script>
    function exit() {
        alert("确定要退出吗?");
    }
</script>
</html>